package sealed_generator.card;

public enum Rarity {
	MYTHIC, RARE, UNCOMMON, COMMON, LAND, SPECIAL, SPECIAL2;

	public static Rarity parse(String rarity) {
		if("R".equals(rarity)) {
			return RARE;
		} else if("U".equals(rarity)) {
			return UNCOMMON;
		} else if("C".equals(rarity)) {
			return COMMON;
		} else if("M".equals(rarity)) {
			return MYTHIC;
		} else if("B".equals(rarity)) {
			return LAND;
		}
		
		return COMMON;
	}
}
